waxClass{'LogicCenter',HNLogicCenter}
function init(self)
self.super:init()
return self
end

function actorA_attackActorB(self,a,b)
local p = 1;
while p~=0 do
    print('-------')
    print(a)
    print(b)
    print(a.attackAction)
    p = a.attackAction:act(a,b,self)
    b.defenceAction:act(a,b,self)
    b.reattackAction:act(a,b,self)
end

end